feature: allow deactivating of scheduled tasks #316
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new feature to deactivate scheduled tasks in the
frosh-tools
module. The changes include adding a new endpoint to the backend, updating the API service, and modifying the frontend to support this new functionality.Backend changes:
src/Controller/ScheduledTaskController.php
: Added a new route and methoddeactivateTask
to handle the deactivation of scheduled tasks.API service changes:
src/Resources/app/administration/src/api/frosh-tools.js
: Added a new methoddeactivateScheduledTask
to call the new backend endpoint for deactivating scheduled tasks.Frontend changes:
src/Resources/app/administration/src/module/frosh-tools/component/frosh-tools-tab-scheduled/index.js
: Added a new methoddeactivateTask
to handle the deactivation process and update the UI accordingly.src/Resources/app/administration/src/module/frosh-tools/component/frosh-tools-tab-scheduled/template.twig
: Added a new context menu item to trigger the deactivation of a scheduled task.Localization changes:
src/Resources/app/administration/src/module/frosh-tools/snippet/de-DE.json
: Added new German translations for the deactivation process messages.src/Resources/app/administration/src/module/frosh-tools/snippet/en-GB.json
: Added new English translations for the deactivation process messages.